<script lang="ts" context="module">
  import type { Column } from "./conf";
</script>
<script lang="ts">
  export let col: Column;
  export let value = "";
</script>
<div class="text-cell-container" style="--cell-align: {col.options?.align}">
  {value === undefined ?  "" : value}
</div>
<style lang="postcss">
  .text-cell-container {
		@apply px-2;
    text-align: var(--cell-align, left);
	}
</style>